# nCloth Advanced Techniques

The nCloth Advanced Techniques tutorial demonstrates a workflow for simulating high resolution clothing mesh using nCloth. In this tutorial, two lower resolution versions of a high resolution mesh clothing are converted to nCloth and then simulated. Using a wrap deformer, the nCloth objects become influence objects for the high resolution mesh clothing, which then behaves the same as the simulated nCloth. Using this workflow, you can quickly create animated behaviors unique to simulated cloth using high resolution meshes.

This tutorial describes methods for identifying problem areas in your nCloth simulations and explains how to resolve simulation issues, such as inaccurate collisions and self collisions, which often lead to interpenetrations between colliding objects. Inaccurate collisions are at play when the components participating in collisions do not accurately detect the presence of other participating components. This can happen when simulating models with complex geometry. It also explains the importance of setting key Nucleus solver attributes early in the simulation process to ensure better results in more complex nCloth simulations. When simulating complex models, the default solver settings often need to be adjusted to optimize your nCloth.

Use of any data from The Spine in this tutorial is courtesy of the National Film Board of Canada.

## When is this workflow useful?

This workflow is useful for, but not limited to, the following scenarios:

- Simulating highly detailed polygon meshes.
- Simulating clothing from various mesh resolutions, which can then be used for characters in the background, mid ground, and foreground of your scene.
- Simulating the same clothing for multiple characters in a scene that have similar scale and shape.

## Why is this workflow useful?

- Reduces the amount of simulation time and computing resources, allowing you to spend more time testing and adjusting nCloth attribute settings.
- Shorter simulation and caching durations provide quicker feedback on how specific attribute adjustments affect nCloth behavior.
- Lets you develop a better understanding of how your nCloth is behaving and responding to your nCloth attribute settings.
- Lets you troubleshoot simulation problems using a low resolution proxy mesh, and then apply the solutions to high resolution mesh nCloth objects.

The nCloth Advanced Techniques tutorials assume that you have a familiarity with nCloth in your Maya scenes, and have completed the nCloth tutorials from the Getting Started with Maya.

#### Topics in this section

- Preparing for the lessons
- About the tutorial assets
- Lesson 1: Converting the pants to nCloth and setting up the simulation
- Lesson 2: Simulating the pants in a static stance
- Lesson 3: Wrapping the high resolution mesh and simulating the pants during animation
- Lesson 4: Simulating the low resolution shirt
- Lesson 5: Simulating medium resolution meshes using custom nCloth attribute presets